html()
method in JQuery?html()
method is used to change the entire content of the selected elements. It replaces the selected element content with new contents.$(document).ready(function(){
$("button").click(function(){
$("p").html("Hello <b>freetimelearning.com</b>");
});
});​